/**
 * Copyright (C) 2017 - 2020 https://github.com/joewee
 * <p>
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * <p>
 * http://www.apache.org/licenses/LICENSE-2.0
 * <p>
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.bifrost.entity;

import javax.persistence.*;

/**
 *合同主数据
 *
 *@author joewee
 *@version 1.0.0
 *@Date 2018/3/7 14:46
 */
@Entity
@Table(name = "SAP_PROTOCOL",indexes = {
        @Index(name = "RECNNR_INDEX",columnList = "RECNNR",unique = true)
})
public class SapProtocol {
    private String recnnr;
    private String recntxt;
    private String benocn;
    private String recnbeg;
    private String recnendabs;
    private String zzcontStatus;
    private String partner;
    private String zzbukrs;
    private String zzppbm;
    private String zzzzghn;
    private String dstatus;
    private String ddate;
    private Long id;

    @Basic
    @Column(name = "RECNNR", nullable = true, length = 10)
    public String getRecnnr() {
        return recnnr;
    }

    public void setRecnnr(String recnnr) {
        this.recnnr = recnnr;
    }

    @Basic
    @Column(name = "RECNTXT", nullable = true, length = 80)
    public String getRecntxt() {
        return recntxt;
    }

    public void setRecntxt(String recntxt) {
        this.recntxt = recntxt;
    }

    @Basic
    @Column(name = "BENOCN", nullable = true, length = 8)
    public String getBenocn() {
        return benocn;
    }

    public void setBenocn(String benocn) {
        this.benocn = benocn;
    }

    @Basic
    @Column(name = "RECNBEG", nullable = true, length = 8)
    public String getRecnbeg() {
        return recnbeg;
    }

    public void setRecnbeg(String recnbeg) {
        this.recnbeg = recnbeg;
    }

    @Basic
    @Column(name = "RECNENDABS", nullable = true, length = 8)
    public String getRecnendabs() {
        return recnendabs;
    }

    public void setRecnendabs(String recnendabs) {
        this.recnendabs = recnendabs;
    }

    @Basic
    @Column(name = "ZZCONT_STATUS", nullable = true, length = 30)
    public String getZzcontStatus() {
        return zzcontStatus;
    }

    public void setZzcontStatus(String zzcontStatus) {
        this.zzcontStatus = zzcontStatus;
    }

    @Basic
    @Column(name = "PARTNER", nullable = true, length = 10)
    public String getPartner() {
        return partner;
    }

    public void setPartner(String partner) {
        this.partner = partner;
    }

    @Basic
    @Column(name = "ZZBUKRS", nullable = true, length = 10)
    public String getZzbukrs() {
        return zzbukrs;
    }

    public void setZzbukrs(String zzbukrs) {
        this.zzbukrs = zzbukrs;
    }

    @Basic
    @Column(name = "ZZPPBM", nullable = true, length = 6)
    public String getZzppbm() {
        return zzppbm;
    }

    public void setZzppbm(String zzppbm) {
        this.zzppbm = zzppbm;
    }

    @Basic
    @Column(name = "ZZZZGHN", nullable = true, length = 10)
    public String getZzzzghn() {
        return zzzzghn;
    }

    public void setZzzzghn(String zzzzghn) {
        this.zzzzghn = zzzzghn;
    }

    @Basic
    @Column(name = "DSTATUS", nullable = true, length = 1)
    public String getDstatus() {
        return dstatus;
    }

    public void setDstatus(String dstatus) {
        this.dstatus = dstatus;
    }

    @Basic
    @Column(name = "DDATE", nullable = true, length = 14)
    public String getDdate() {
        return ddate;
    }

    public void setDdate(String ddate) {
        this.ddate = ddate;
    }

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "ID", nullable = false)
    public Long getId() {
        return id;
    }

    public void setId(Long noid) {
        this.id = noid;
    }
}
